package com.yixin.hospital.entity.dto.req.drugfactory;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel("编辑生产厂家请求体")
@Data
public class DrugFactoryEditReqDTO {

    @ApiModelProperty(value = "主键id", example = "1")
    @NotNull(message = "主键id不能为空")
    private Long id;

    @ApiModelProperty(value = "生产厂家", example = "生产厂家1")
    @NotBlank(message = "生产厂家不能为空")
    private String factory;
}
